package com.smartfactory.sail.mapper;

import com.smartfactory.sail.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartfactory.sail.vo.dept.ListAllPostResp;
import com.smartfactory.sail.vo.dept.ListDeptResp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    List<ListDeptResp> getAll();

    List<ListAllPostResp> getAllPost();
}
